<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta content="" charset=UTF-8>
    <title>登录</title>
</head>
<body>
    <form action="/user/login" method="post">
        <input type="text" name="username" placeholder="用户名">
        <input type="text" name="password" placeholder="请输入密码">

        <input type="submit" value="登录">
    </form>
<div style="color:red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"> </div>
</body>
</html>